PEPrintControlsShowing

Use PEPrintControlsShowing to determine if the print controls are displayed in the preview window. Use this function to retrieve the visible print controls and pass back using PEShowPrintControls.

C Syntax
BOOL CRPE_API PEPrintControlsShowing (
        short printJob,
        BOOL FAR *controlsShowing );
Parameters

printJob

Specifies the print job for which you want to determine whether or not the print controls will be displayed when the job is sent to a preview window.

controlsShowing

Specifies a pointer to a TRUE value if the print controls will be shown or FALSE value if they will be hidden.

Returns
VB Syntax

VB Sample Code for Previewing a Report

Declare Function PEPrintControlsShowing Lib "crpe32.dll" (
    ByVal printJob As Integer, ControlsShowing As Long ) As Integer
Delphi Syntax
function PEPrintControlsShowing (
    printJob: Word;
    var controlsShowing: Bool
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com